package com.pe.pgn.clubpgn.dao;

import java.util.List;
import java.util.Map;

import com.pe.pgn.clubpgn.domain.ClprFlotaVehiculo;

@SuppressWarnings("unchecked")
public interface FlotaVehiculoDao extends GenericDao<ClprFlotaVehiculo, Long> {
	
	public List<ClprFlotaVehiculo> obtenerFlotaVehiculos(Long idFlota);
	public int guardarFlotaVehiculo(Long id, Long coFlota, String dePlaca, Long idTarjetaEmpresa, String deObservaciones);
	public int eliminarFlotaCargaVehiculo(Long coFlota, String dePlaca,Long coTarjetaEmpresa,String deObservaciones);
	public ClprFlotaVehiculo obtenerFlotaVehiculo(Long id);
	public int eliminarFlotaVehiculo(Long id); 
	public List<ClprFlotaVehiculo> obtenerFlotaVehiculosPlaca(String cadenaDePlaca);
	public List<ClprFlotaVehiculo> obtenerFlotaVehiculosTarjeta(String cadenaDeTarjeta);
	public List<ClprFlotaVehiculo> obtenerFlotaVehiculosAlias(String cadenaDeAlias);
	public Long validaVehiculoFlota(String deFlotaVehiculoArea,Long idFlotaVehiculo);
	public Map<String, ClprFlotaVehiculo> obtenerMapFlotaVehiculosPlaca(String cadenaPlacas);
	public void guardarFlotasVehiculos(Long flotaID, List dataSheet);
	
}
